<template>
  <view @click="navigatorTo" class="navSearch">
    <view class="input">
      <view>搜索</view>
    </view>
  </view>
</template>
<script>
export default {
  methods: {
    navigatorTo(){
      uni.navigateTo({
         url: '/pages/search/index'
      })
    }
  },
}
</script>
<style lang="scss">
.navSearch{
  height:90rpx;
  background:$theme-color;
  padding: 0 10rpx;
  display: flex;
  align-items: center;
  .input{
    width: 100%;
    background:#fff;
    height:60rpx;
    border-radius:5px;
    display: flex;
    justify-content: center;
    align-items: center;
    view{
      font-size: 32rpx;
    }
  }
}
</style>